package com.cqgc.pojo.dto.DeliveryDTO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * @author : 是你
 * @time : 2024/4/24 20:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UpdateDeliveryDTO {
    @NotNull
    private int id;
    @Pattern(regexp = "^1[3-9]\\d{9}$")
    private String deliveryPhone;
    private String deliveryAccount;
    private String orderAddress;
}
